package com.hp.service.iml;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hp.dao.ItemsDao;
import com.hp.model.Items;
import com.hp.service.ItemsService;
@Service
public class ItemsServiceiml implements ItemsService{
	
	@Autowired
	private ItemsDao idao;

	@Override
	public List<Items> getItemsByOrderId(int orderId) {
		return idao.findByOrderId(orderId);
	}

}
